/*
 * @Description  :
 * @Author       : YiDing Xue
 * @Date         : 2023-02-23
 * @LastEditors  : YiDing Xue
 * @LastEditTime : 2023-03-04
 */
/** 重置样式 */
import '@/styles/reset.css'
import 'uno.css'
import '@/styles/global.scss'
import { createApp } from 'vue'
import { setupStore } from '@/store'
import { setupRouter } from '@/router'
// import 'default-passive-events'
import { IconFont } from '@nutui/icons-vue'
import '@nutui/icons-vue/dist/style_iconfont.css'
import App from './App.vue'
const setupApp = async () => {
  const app = createApp(App)
  app.use(IconFont)
  await setupStore(app)
  await setupRouter(app)
  app.mount('#app')
}

setupApp()
